<template>
    <!-- 支付宝支付界面 -->
    <div class="ali-pay box-shadow mt-4 border-radius">
        <div v-html="data" ref="pay"></div>
    </div>
</template>
<script>
    export default {
        components: {},
        props: [],
        data() {
            return {
                data: null,
            };
        },
        mounted() {
            console.log("qu==="+JSON.stringify(this.$route.query.res.data));
            this.data = this.$route.query.res.data;

            // this.$nextTick(() => {
            //     this.$refs.pay.children[0].submit();
            // });
        },
        methods: {},
    };
</script>
<style lang="scss">
    .ali-pay {
    }
</style>
